
<?
	//Last modified by DPT on May/25/05 to fix issues with html 
 $err		=$_GET['Err'];
 $action	=$_GET['Action'];

 if ($action=="affiliate")
    $aff="selected = 'selected'";
 else
     $mer="selected = 'selected'";

?>

<table width="775"  border="0" align="center" class="outtbl" cellpadding="0" cellspacing="0">
  <tr>
    <td width="215" align="left" valign="top" class="lftnavbg">
      <table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="215" height="26" align="left" valign="top" class="lanbg"><table width="175"  border="0" cellspacing="0">
            <tr>
              <td width="215" align="right" valign="middle">
              <!-- language: <select name="select2" class="style3">
                <option>english</option>
              </select>
			  -->
			  <? include_once "language_select.php"; 
			  ?>
			  </td>
            </tr>
          </table></td>
        </tr>
      </table>

        <table width="190"  border="0" cellspacing="0" cellpadding="15">
          <tr>
            <td width="215">
			<form name="login" action="login_validate.php" method="post">
			<table width="100%"  border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td height="1" colspan="2" bgcolor="#7d7d7d"></td>
                </tr>
                <tr>
                  <td height="25" colspan="2" align="center"><img src="images/login.gif" width="111" height="17" alt=""/></td>
                </tr>
                <tr>
                  <td height="1" colspan="2" bgcolor="#7d7d7d"></td>
                </tr>
                <tr>
                  <td height="5" colspan="2" ><span class="style6">
                    <?=$$err?>
                  </span></td>
                </tr>
                <tr>
                  <td height="15" colspan="2" class="style5"><?=$lang_Choose?>:</td>
                </tr>
                <tr>
                  <td height="20" colspan="2" ><select name="flag" class="style3">
                <option <?=$mer?> value="merchant"><?=$lang_Merchants?></option>
                <option <?=$aff?> value="affiliate"><?=$lang_Affiliates?></option>
            </select></td>
                </tr>
                <tr>
                  <td height="15" colspan="2" ><span class="style5"><?=$lang_Username?>:</span></td>
                </tr>
                <tr>
                  <td height="20" colspan="2" ><input name="login" type="text" class="style3" value="" size="25"/></td>
                </tr>
                <tr>
                  <td height="15" colspan="2" class="style5"><?=$lang_Password?>:</td>
                </tr>
                <tr>
                  <td width="60%"><input  name="password" type="password" class="style3" value="" size="15"/></td>
                  <td width="60" height="20" class="enter"><div class="sbt" onclick="document.login.submit()" >&nbsp;&nbsp;&nbsp;&nbsp;Enter</div></td>
                </tr>
                <tr>
                  <td height="15" colspan="2" ><a href="#" onclick="viewlink()"><?=$lang_Forgot?>? </a></td>
                </tr>
                <tr>
                  <td height="5" colspan="2" ></td>
                </tr>
                <tr>
                  <td height="1" colspan="2" bgcolor="#7d7d7d"></td>
                </tr>
                <tr>
                  <td height="10" colspan="2" ></td>
                </tr>
                <tr>
                  <td height="10" colspan="2" ><div align="justify"><?=$lang_iPartnersmanager?></div></td>
                </tr>
                <tr>
                  <td height="10" colspan="2" ></td>
                </tr>
                <tr>
                  <td height="1" colspan="2" bgcolor="#797979"></td>
                </tr>
            </table></form></td>
          </tr>
    </table></td>
    <td height="100%" rowspan="2" align="left" valign="top"><table width="100%"  border="0" align="left" cellpadding="0" cellspacing="0">
        <tr>
          <td width="260" align="left" valign="top"><table width="260" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td> <img src="images/innerbox1_01.gif" width="24" height="26" alt=""/></td>
                <td height="26" colspan="2" bgcolor="#2676d1">
                  <div align="center" class="style4"><?=$lang_Affiliates?></div></td>
                <td height="26" colspan="3" class="rtborder" > <img src="images/innerbox1_03.gif" width="131" height="26" alt=""/></td>
                <td> <img src="images/spacer.gif" width="1" height="26" alt=""/></td>
              </tr>
              <tr>
                <td height="105" colspan="2" rowspan="2" align="center" valign="middle" class="lftborder"><img src="images/affili_pic.jpg" width="96" height="76" alt=""/> </td>
                <td height="85" colspan="4" class="rtborder" ><table width="100%"  border="0" cellspacing="5" cellpadding="0">
                    <tr>
                      <td><div align="justify"><?=$lang_Turn?></div></td>
                    </tr>
                </table></td>
                <td> <img src="images/spacer.gif" width="1" height="85" alt=""/></td>
              </tr>
              <tr>
                <td height="26" colspan="2" rowspan="2" bgcolor="#d2d2d2"> <img src="images/innerbox1_06.gif" width="21" height="26" alt=""/></td>
                <td width="105" height="26" rowspan="2" bgcolor="#d2d2d2">
                  <div align="center"><a href="index.php?Act=affil_regi"><strong><?=$lang_REGISTER?></strong></a></div></td>
                <td rowspan="2"> <img src="images/innerbox1_08.gif" width="24" height="26" alt=""/></td>
                <td> <img src="images/spacer.gif" width="1" height="20" alt=""/></td>
              </tr>
              <tr>
                <td height="6" colspan="2" bgcolor="#d2d2d2"></td>
                <td> <img src="images/spacer.gif" width="1" height="6" alt=""/></td>
              </tr>
              <tr>
                <td> <img src="images/spacer.gif" width="24" height="1" alt=""/></td>
                <td> <img src="images/spacer.gif" width="86" height="1" alt=""/></td>
                <td> <img src="images/spacer.gif" width="19" height="1" alt=""/></td>
                <td> <img src="images/spacer.gif" width="2" height="1" alt=""/></td>
                <td> <img src="images/spacer.gif" width="105" height="1" alt=""/></td>
                <td> <img src="images/spacer.gif" width="24" height="1" alt=""/></td>
                <td></td>
              </tr>
            </table>
              <br/>
              <table width="260" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td> <img src="images/innerbox1_01.gif" width="24" height="26" alt=""/></td>
                  <td height="26" colspan="2" bgcolor="#2676d1">
                    <div align="center" class="style4"><?=$lang_Merchants?></div></td>
                  <td height="26" colspan="3" class="rtborder" > <img src="images/innerbox1_03.gif" width="131" height="26" alt=""/></td>
                  <td> <img src="images/spacer.gif" width="1" height="26" alt=""/></td>
                </tr>
                <tr>
                  <td height="105" colspan="2" rowspan="2" align="center" valign="middle" class="lftborder"><img src="images/merch_pic.jpg" width="96" height="76" alt=""/> </td>
                  <td height="85" colspan="4" class="rtborder" ><table width="100%"  border="0" cellspacing="5" cellpadding="0">
                      <tr>
                        <td><div align="justify">
                          <?=$lang_Increase?>
                        </div></td>
                      </tr>
                  </table></td>
                  <td> <img src="images/spacer.gif" width="1" height="85" alt=""/></td>
                </tr>
                <tr>
                  <td height="26" colspan="2" rowspan="2" bgcolor="#d2d2d2"> <img src="images/innerbox1_06.gif" width="21" height="26" alt=""/></td>
                  <td width="105" height="26" rowspan="2" bgcolor="#d2d2d2">
                    <div align="center"><a href="index.php?Act=register"><strong><?=$lang_REGISTER?></strong></a></div></td>
                  <td rowspan="2"> <img src="images/innerbox1_08.gif" width="24" height="26" alt=""/></td>
                  <td> <img src="images/spacer.gif" width="1" height="20" alt=""/></td>
                </tr>
                <tr>
                  <td height="6" colspan="2" bgcolor="#d2d2d2"></td>
                  <td> <img src="images/spacer.gif" width="1" height="6" alt=""/></td>
                </tr>
                <tr>
                  <td> <img src="images/spacer.gif" width="24" height="1" alt=""/></td>
                  <td> <img src="images/spacer.gif" width="86" height="1" alt=""/></td>
                  <td> <img src="images/spacer.gif" width="19" height="1" alt=""/></td>
                  <td> <img src="images/spacer.gif" width="2" height="1" alt=""/></td>
                  <td> <img src="images/spacer.gif" width="105" height="1" alt=""/></td>
                  <td> <img src="images/spacer.gif" width="24" height="1" alt=""/></td>
                  <td></td>
                </tr>
            </table></td>
          <td width="10">&nbsp;</td>
          <td align="left" valign="top"><table width="260" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td> <img src="images/innerbox2_01.gif" width="24" height="26" alt=""/></td>
                <td width="105" height="26" bgcolor="#ffa200"><div align="center" class="style4"><?=$lang_FEATURES?></div></td>
                <td height="26" colspan="3" class="rtborder"> <img src="images/innerbox2_03.gif" width="131" height="26" alt=""/></td>
              </tr>
              <tr>
                <td height="2" colspan="5"  class="ltrtbrdr" ><p>&nbsp; </p>
                    <ul>
                      <li><?=$featurelist?></li>
                       <li><?=$featurelist13?></li>
                        <li><?=$featurelist2?></li>
                         <li><?=$featurelist3?></li>
                          <li><?=$featurelist4?></li>
                           <li><?=$featurelist5?></li>
                            <li><?=$featurelist6?></li>
                             <li><?=$featurelist7?></li>
                              <li><?=$featurelist8?></li>
                               <li><?=$featurelist9?></li>
                                <li><?=$featurelist10?></li>
                                 <li><?=$featurelist11?></li>
                                  <li><?=$featurelist12?></li>
                  </ul></td>
              </tr>
              <tr>
                <td height="26" colspan="3" class="lftborder"> <img src="images/innerbox2_05.gif" width="132" height="26" alt=""/></td>
                <td width="103" height="26" bgcolor="#d2d2d2">&nbsp; </td>
                <td width="25" height="26"> <img src="images/innerbox2_07.gif" width="25" height="26" alt=""/></td>
              </tr>
              <tr>
                <td> <img src="images/spacer.gif" width="24" height="1" alt=""/></td>
                <td> <img src="images/spacer.gif" width="105" height="1" alt=""/></td>
                <td> <img src="images/spacer.gif" width="3" height="1" alt=""/></td>
                <td> <img src="images/spacer.gif" width="103" height="1" alt=""/></td>
                <td> <img src="images/spacer.gif" width="25" height="1" alt=""/></td>
              </tr>
          </table></td>
        </tr>
      </table>
        <p>&nbsp;</p></td>
  </tr>
  <tr>
    <td width="215" height="23" align="left" valign="bottom" class="lftnavbg"><img src="images/lft_bt_13.gif" width="215" height="23" alt=""/></td>
  </tr>
</table>

<script language="javascript" type="text/javascript">
           function viewlink()
                {

                   url="forgotpass.php";
                   nw = open(url,'new','height=200,width=450,scrollbars=yes');
                   nw.focus();
                }
 </script>